import request from '@/utils/request'

export const getFailData = () => {
  return request({
    url: '/failure',
    method: 'get'
  })
}

export const delFailData = (id) => {
  return request({
    url: `/failure/${id}`,
    method: 'delete'
  })
}
